Touch pen, control method thereof, touch device and readable storage medium

ABSTRACT

A touch pen, a control method thereof, a touch device, a readable storage medium are provided. The touch pen includes a pen body, a controller, a detecting part, an accommodation part. The controller, the detecting part, the accommodation part are on the pen body. The detecting part has a current detecting circuit, there is a conductive fluid in the accommodation part, the accommodation part is connected to the detecting part; at least a part of the current detecting circuit is inside the detecting part, and configured to contact the conductive fluid and form a circuit with the conductive fluid when the pen body is in a tilt posture, and output a corresponding reference value according to magnitude of a current in the circuit. The controller is electrically connected to the current detecting circuit and configured to output a control signal according to the reference value.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to Chinese Patent Application No.201911025884.5 filed on Oct. 25, 2019, which is incorporated herein byreference in its entirety.

TECHNICAL FIELD

The present disclosure relates to the technical field of touch display,and in particular, the present disclosure relates to a touch pen, acontrol method thereof, a touch device, and a readable storage medium.

BACKGROUND

With the development of touch control technology, more and moreterminals perform human-computer interaction based on touch control.Touch control methods generally include touching by a human hand ortouching by a touch pen. Touch pens are divided into passive touch penand active touch pen. The passive touch pen has the same principle ashand touch. The active touch pen emits an excitation signal via a pentip, so that a coupling capacitance is generated between the pen tip anda screen sensor, and then the terminal is enabled to detect touch pointcoordinates.

SUMMARY

In a first aspect, some embodiments of the present disclosure provide atouch pen, including:

a pen body, a controller, a detecting part, and an accommodation part,where the controller, the detecting part, and the accommodation part arearranged on the pen body;

the detecting part is provided with a current detecting circuit, thereis a conductive fluid in the accommodation part, and the accommodationpart is connected to the detecting part;

the current detecting circuit is configured to contact the conductivefluid when the pen body is in a tilt posture, form a circuit with theconductive fluid, and output a corresponding reference value accordingto magnitude of a current in the circuit;

the controller is electrically connected to the current detectingcircuit, and is configured to output a control signal according to thereference value.

In a second aspect, some embodiments of the present disclosure provide atouch device, including a first device and the touch pen provided in theembodiments of the present disclosure; the first device is configured toreceive the control signal output by the controller of the touch pen.

In a third aspect, some embodiments of the present disclosure provide amethod for controlling a touch pen, which is applied to the touch penprovided in the embodiments of the present disclosure, including:

receiving a reference value, where the reference value is output whenthe pen body is in a tilt posture and the detecting part contacts theconductive fluid; and outputting a control signal according to thereference value.

In a fourth aspect, some embodiments of the present disclosure provide areadable storage medium on which a program is stored. When the programis executed by a touch pen, the method for controlling the touch penprovided in the embodiments of the present disclosure is implemented.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or additional aspects and advantages of the presentdisclosure will become apparent and will be easily understood from thefollowing descriptions of the embodiments in conjunction with theaccompanying drawings.

FIG. 1 is a schematic structural diagram of a touch pen provided by someembodiments of the present disclosure;

FIG. 2 is a schematic diagram of a use process of a touch pen providedby some embodiments of the present disclosure, which is a perspectiveview and a controller and a power supply part are omitted;

FIG. 3 is a schematic diagram of a touch pen in a tilted state and aspecific structural diagram of a detecting part according to someembodiments of the present disclosure, which is a perspective view;

FIG. 4 is an equivalent circuit diagram of a current detecting circuitprovided by some embodiments of the present disclosure;

FIG. 5 is a partial sectional view of a detecting part provided by someembodiments of the present disclosure;

FIG. 6 is a schematic structural diagram of a touch pen provided by someembodiments of the present disclosure;

FIG. 7 is a schematic structural diagram of a touch pen provided by someembodiments of the present disclosure;

FIG. 8 is a schematic structural diagram of a touch pen provided by someembodiments of the present disclosure;

FIG. 9 is a schematic structural diagram of a touch device according tosome embodiments of the present disclosure;

FIG. 10 is a schematic diagram of a correspondence relationship betweena current in a circuit and a frequency of an excitation signal output bya controller provided by some embodiments of the present disclosure; and

FIG. 11 is a schematic flowchart of a method for controlling a touch penprovided by some embodiments of the present disclosure.

DETAILED DESCRIPTION

The present disclosure is described in detail below. Examples ofembodiments of the present disclosure are shown in the drawings, wherethe same or similar reference numerals indicate the same or similarcomponents or components having the same or similar functions. Further,if detailed descriptions of known technologies are unnecessary for theillustrated features of the present disclosure, they are omitted. Theembodiments described below with reference to the drawings areexemplary, and only used to explain the present disclosure, and cannotbe construed as limiting the present disclosure.

It will be understood by those skilled in the art that, unless otherwisedefined, all terms (including technical and scientific terms) usedherein have the same meaning as commonly understood by one of ordinaryskill in the art to which this disclosure belongs. It should also beunderstood that terms such as those defined in the general dictionaryshould be understood to have meanings consistent with the meanings inthe context of the conventional technologies, and unless specificallydefined herein, they would not be explained by idealized or overlyformal meanings.

Those skilled in the art will understand that, unless specificallystated, otherwise, the singular forms of “a”, “an”, “the” and “said” mayinclude plural forms. It should be further understood that the wording“including” used in the specification of the present disclosure refersto the presence of the described features, integers, steps, operations,elements and/or components, but does not exclude the presence oraddition of one or more other features, integers, steps, operations,elements, components, and/or groups thereof. It should be understoodthat when an element is referred to as being “connected” or “coupled” toanother element, it may be directly connected or coupled to the anotherelement, or an intervening element may also be present. Furthermore,“connected” or “coupled” as used herein may include wireless connectionor wireless coupling. The term “and/or” as used herein includes all orany of or all combinations of one or more of associated items as listed.

The following specifically describes the technical solutions of thepresent disclosure and how the technical solutions of the presentdisclosure solve the above technical problems with specific embodiments.

A touch pen can generally achieve the corresponding function bydetecting the tilt angle of the pen. A touch pen in related technologyusually emits an excitation signal via a pen tip, so that a couplingcapacitance is generated between the pen tip and a screen sensor, andtouch point coordinates are detected. A pressure sensor or Bluetoothmodule is adopted to detect the tilt angle of the pen. However, thepressure sensor and Bluetooth module are relatively expensive andconsume large power, which increases the cost of using the touch pen.

To address the situation in the related technologies that the need for apressure sensor or a Bluetooth module by the touch pen leads to higherprice or higher power consumption, some embodiments of the presentdisclosure provide a touch pen, a control method thereof, a touchdevice, and a readable storage medium.

Some embodiments of the present disclosure provide a touch pen. As shownin FIG. 1 and FIG. 2, the touch pen includes a pen body 1, a controller2, a detecting part 3, and accommodation part 4 which are provided onthe pen body 1. The controller may be a processor, a control circuit, oran integrated chip, and the embodiments of the present disclosure arenot limited thereto.

The detecting part 3 is provided with a current detecting circuit 31,there is a conductive fluid 5 in the accommodation part 4, and theaccommodation part 4 is connected to the detecting part 3.

At least a part of the current detecting circuit 31 is located insidethe detecting part 3, and the current detecting circuit is configured tocontact the conductive fluid 5 and form a circuit with the conductivefluid 5 when the pen body 1 is in a tilt posture, and output acorresponding reference value according to magnitude of a current in thecircuit.

The controller 2 is electrically connected to the current detectingcircuit 31 and is configured to receive a reference value and output acontrol signal according to the reference value.

It should be noted that, in some embodiments, the pen body 1, thecontroller 2, the detecting part 3, and the accommodation part 4 may beindependent components, and the pen body 1 is only used to carry thecontroller 2, the detecting part 3, and the accommodation part 4. Insome embodiments, a partial region of the pen body 1 may belong to atleast one of the controller 2, the detecting part 3, and theaccommodation part 4.

In some embodiments of the present disclosure, as shown in FIG. 1, thecontroller 2 may include a boost circuit.

The conductive fluid 5 has conductivity, and may be, for example, anelectrolytic solution. When the touch pen is tilted, the conductivefluid 5 in the accommodation part 4 flows into the detecting part 3 andcontacts the current detecting circuit 31, and forms a circuit with thecurrent detecting circuit 31 to generate a current. When the touch penis in a different tilt posture, the amount of the conductive fluid 5flowing into the detecting part 3 changes, so that the circuit structureof the circuit formed by the current detecting circuit 31 and theconductive fluid 5, the current in the circuit, and the reference valueoutput by the detecting part 3 change accordingly. Since the controller2 can output corresponding signals according to different referencevalues, the user only needs to change the tilt posture of the touch pento enable the controller 2 of the touch pen to change the outputtedsignals, thereby realizing related functions. The current detectingcircuit 31 of the touch pen and the accommodation part 4 containing theconductive fluid 5 replace the pressure sensor and the Bluetooth modulein the touch pen in the related technologies. The structure is simplerand the response speed is faster, which saves costs and reduces powerconsumption.

Taking FIG. 2 as an example, the touch pen is in a vertical state atposition A, the tilt angle is 0, and the current detecting circuit 31 isnot in contact with the conductive fluid 5. The touch pen is tiltedrightwards from position A to position B, in this case, the touch pen isin a tilt posture with a tilt angle of θ, and a part of the currentdetecting circuit 31 is in contact with the conductive fluid 5 to form acorresponding circuit and generate a current.

In the embodiments of the present disclosure, the vertical state of thetouch pen may refer to that that a center axis of the pen body 1 of thetouch pen is parallel or substantially parallel to the direction ofgravity; in this case, the tilt angle of the touch pen is 0.

It should be noted that both the dotted line L and the dotted line L′ inFIG. 2 indicate the central axis of the pen body 1. In the embodimentsof the present disclosure, the tilt angle of the touch pen at thecurrent position refers to the angle between the touch pen's center axisL′ at the current position and the touch pen's center axis L at positionA. For example, the tilt angle θ is the angle between the center axis L′of the touch pen at position B and the center axis L of the touch pen atposition A.

When the touch pen is tilted rightwards from position A to position B,the current detecting circuit 31 and the conductive fluid 5 may form atleast one circuit, and each circuit generates a corresponding current.

In some embodiments, each current value corresponds to a referencevalue.

The relationship between the tilt angle of the touch pen and the valueof the current generated by the circuit may be determined according tothe structural characteristics of the current detecting circuit 31. Forexample, the greater the tilt angle of the touch pen is, the greater thevalue of the current generated by the circuit is (i.e., the value of thecurrent have a positive correlation with the tilt angle); or, thegreater the tilt angle of the touch pen is, the smaller the value of thecurrent generated by the circuit is (i.e., the value of the current hasa negative correlation with the tilt angle). The signal output by thecontroller 2 changes with the value of the current in the circuit.

In some embodiments of the present disclosure, as shown in FIG. 3, thecurrent detecting circuit 31 includes a main circuit 311 and a pluralityof conductor branches 312.

The main circuit 311 includes a power supply 3111 and a detector 3112connected in series. A first end of the main circuit 311 is connected toa fixed end of each conductor branch 312. The second end of the maincircuit 311 and the free ends of the plurality of conductor branches 312are arranged at intervals in the detecting part 3 in a first direction.

When the pen body 1 is in a tilt posture, and the second end of the maincircuit 311 and the free end of the at least one conductor branch 312contact the conductive fluid 5, the main circuit 311, the at least oneconductor branch 312, and the conductive fluid 5 form a circuit. Thedetector 3112 is electrically connected to the controller 2 and isconfigured to output a corresponding reference value according tomagnitude of the current in the circuit.

It should be noted that the quantity of conductor branches 312 and theseparation distance between the free ends of the conductor branches 312may be determined according to actual design needs. As shown in FIG. 3,the first end of the main circuit 311 is a connection end of thedetector 3112 away from the power supply 3111, and the second end is aconnection end of the power supply 3111 away from the detector 3112 (forexample, may be the negative electrode end of the power supply 3111).The connection end of the conductor branch 312 for connecting thedetector 3112 is a fixed end, and the other connection end of theconductor branch 312 is a free end.

In some embodiments, as shown in FIG. 3, the first direction may beparallel to the axis of the touch pen. The first direction may form anangle with the axis of the touch pen, and the value of the angle may bedetermined according to actual design requirements.

When the second end of the main circuit 311 and the free end of theconductor branch 312 are not in contact with the conductive fluid 5, thetwo are in an open state; when the second end of the main circuit 311and the free end of at least one conductor branch 312 are in contactwith the conductive fluid 5, the conductive fluid 5 is equivalent to awire at this time, which enable a path between the second end of themain circuit 311 and the free end of the conductor branch 312 to beturned on, so that the main circuit 311, the conductor branch 312 andthe conductive fluid 5 form a circuit and generate a current.

As shown in FIG. 3, the second end of the main circuit 311 and the freeends of the three conductor branches 312 are in contact with theconductive fluid 5, and a connection between the second end of the maincircuit 311 and the free ends of the three conductor branches 312 isturned on, to form a circuit where the three conductor branches 312 areall connected in parallel with the main circuit.

When the touch pen is in different tilt postures, the amounts of theconductive fluid 5 flowing into the detecting part 3 change, so thequantities of the conductor branches 312 contacted by the conductivefluid 5 change accordingly, thereby forming circuits with differentcircuit structures. A corresponding current is generated in eachcircuit, and the detector 3112 may output a corresponding referencevalue according to the magnitude of the current in the circuit.

For the touch pen shown in FIG. 3, the increase in the tilt angle of thetouch pen causes increase in the quantity of the conductor branches 312that the conductive fluid 5 contacts. For example, when the tilt angleof the touch pen is 10 degrees, two conductor branches 312 are incontact with the conductive fluid 5, and the main circuit 311, theconductive fluid 5 and the two conductor branches 312 form a circuit;when the tilt angle of the touch pen is 30 degrees, six conductorbranches 312 are in contact with the conductive fluid 5, and the maincircuit 311, the conductive fluid 5 and the six conductor branches 312form a circuit.

In the touch pen shown in FIG. 3, the conductor branch 312 may beequivalent to a resistor R, and the current detecting circuit 31 may beequivalent to a circuit shown in FIG. 4. In the circuit shown in FIG. 4,Si to Sn represent switches, and n is a positive integer. When theswitch is turned off, it means that the free end of the conductor branch312 corresponding to the switch is not in contact with the conductivefluid 5; when the switch is turned on, it means that the free end of theconductor branch 312 corresponding to the switch is in contact with theconductive fluid 5. For example, when the second end of the main circuit311 and the free end of the first conductor branch 312 are both incontact with the conductive fluid 5, it is equivalent to turning on theswitch Si in the circuit shown in FIG. 4. When the circuit includes morethan two conductor branches 312, the conductor branches 312 areconnected in parallel with each other. Therefore, the larger thequantity of conductor branches 312 in the circuit is, the larger thevalue of the current generated by the circuit is.

Considering that the flow of the conductive fluid 5 may be affected byenvironmental factors such as vibration, the value of the currentgenerated by the circuit may be affected by environmental disturbances.Therefore, a shock absorber or a buffer may be provided in the touch pento reduce the effect of environment disturbance.

In some embodiments of the present disclosure, as shown in FIG. 3, thesecond end of the main circuit 311 is a first ring-shaped wire 3113, andthe free end of the conductor branch 312 is a second ring-shaped wire3121. The first ring-shaped wire 3113 and the plurality of secondring-shaped wires 3121 are coaxial, and are arranged at intervals in afirst direction in the detecting part 3. In the embodiments of thepresent disclosure, the second end of the main circuit 311 and the freeend of the conductor branch 312 are not limited to a ring-shaped wire,and may be wires of other shapes or other structures.

When both the first ring-shaped wire 3113 and the second ring-shapedwire 3121 are in contact with the conductive fluid 5, the main circuit311, the conductor branch 312 to which the second ring-shaped wire 3121belongs, and the conductive fluid 5 form a circuit. For the touch penprovided in the embodiments, when the touch pen is tilted in anydirection, it can be ensured that the second end of the main circuit 311and the free end of the conductor branch 312 are in contact with theconductive fluid 5, which is convenient for a user to use.

In some embodiments, as shown in FIG. 5, the first ring-shaped wire 3113and the second ring-shaped wire 3121 are made of a conductive material(such as a black frame in the figure), and the conductive material maybe copper. The conductive material may be provided in a ring shape.Those skilled in the art can understand that, since FIG. 5 is asectional view, the black frame in the figure only represents a part ofthe conductive material. Insulation regions are between the firstring-shaped wire 3113 and the second ring-shaped wire 3121 and betweentwo adjacent second ring-shaped wires 3121.

In some embodiments of the present disclosure, as shown in FIG. 3, theconductor branch 312 further includes a first resistor 3122. The firstend of the main circuit 311 is electrically connected to an end of thefirst resistor 3122, and the other end of the resistor is electricallyconnected to the second ring-shaped wire.

In some embodiments, the resistance value and quantity of the firstresistor 3122 in the conductor branch 312 may be determined according toactual design requirements. An end portion of the first resistor 3122which is connected to the main circuit 311 is a fixed end of theconductor branch 312.

In some embodiments, in the touch pen, the detecting part 3 and theaccommodation part 4 may be integrally formed with the pen body 1 or maybe independent components. The following describes several types ofstructures of the detecting part 3 and the accommodation part 4.

In some embodiments of the present disclosure, the pen body has a hollowgroove arranged axially therein, the accommodation part and thedetecting part are located in the hollow groove, and the accommodationpart is located on a side of the detecting part close to a pen tip ofthe pen body. The hollow groove is divided into adjacent first andsecond regions in the axial direction; the accommodation part includesthe first region, and the detecting part includes the second region; thefirst ring-shaped wire and the plurality of the second ring-shaped wiresare arranged at intervals in the axial direction in the second region.

In some embodiments of the present disclosure, as shown in FIG. 6, thedetecting part 3 and the accommodation part 4 are parts that areintegrally formed with the pen body 1. The pen body 1 has a hollowgroove 11 provided therein in the axial direction. The hollow groove 11is divided, in the axial direction, into a first region 111 and a secondregion 112 adjacent to each other. The first region 111 is close to thepen tip 6 of the pen body 1. The accommodation part 4 includes the firstregion 111, and the detecting part 3 includes the second region 112. Thefirst ring-shaped wire 3113 and the plurality of second ring-shapedwires 3121 are arranged at intervals in the axial direction in thesecond region 112.

In some embodiments of the present disclosure, the touch pen furtherincludes a tubular member arranged in an inside or on an outer surfaceof the pen body, the accommodation part and the detecting part arelocated in the tubular member, and the accommodation part is located ona side of the detecting part close to the pen tip part of the pen body.The tubular member is divided into adjacent first and second portions inits axial direction; the accommodation part includes the first portion,the detecting part includes the second portion; the first ring-shapedwire and the plurality of second ring-shaped wires are arranged atintervals in an axial direction in the second portion.

In some embodiments of the present disclosure, as shown in FIG. 7, thedetecting part 3 and the accommodation part 4 are integrally formedmembers, and are independent of the pen body 1. The touch pen includes atubular member 9 provided in the inside or on the outer surface of thepen body 1. In FIG. 7, the tubular member 9 is provided on the outersurface of the pen body 1.

The tubular member 9 is divided into a first portion 91 and a secondportion 92 in its axial direction, which are adjacent, and the firstportion 91 is close to the pen tip part 6 of the pen body 1. Theaccommodation part 4 includes the first portion 91, and the detectingpart 3 includes the second portion 92; the first ring-shaped wire 3113and the plurality of second ring-shaped wires 3121 are arranged in thesecond portion 92 at intervals in the axial direction.

In some embodiments of the present disclosure, the accommodation partincludes a first cavity for receiving the conductive fluid, thedetecting part is a cylinder, and the first cavity is connected to theinside of the detecting part. The first ring-shaped wire and theplurality of second ring-shaped wires are arranged at intervals in thedetecting part in an axial direction of the detecting part.

In some embodiments of the present disclosure, as shown in FIG. 8, thedetecting part 3 and the accommodation part 4 are both separatecomponents from the pen body 1. The accommodation part 4 includes afirst cavity for receiving the conductive fluid 5, the detecting part 3is a cylinder, and the first cavity is connected to the inside of thedetecting part 3. In FIG. 8, both the detecting part 3 and theaccommodation part 4 are provided on the outer surface of the pen body1. The first ring-shaped wire 3113 and the plurality of secondring-shaped wires 3121 are arranged in the detecting part 3 at intervalsin the axial direction of the detecting part 3.

It should be noted that the gap between the detecting part 3 and theaccommodation part 4 in FIG. 8 is to distinguish between the detectingpart 3 and the accommodation part 4, and indicates that the detectingpart 3 and the accommodation part 4 are independent components. In anactual product, there is no gap between the detecting part 3 and theaccommodation part 4, or, the detecting part 3 and the accommodationpart 4 are communicating with each other through an additional structure(for example, a tube).

In some embodiments, as shown in FIG. 9, the control signal output bythe controller 2 according to the reference value may be used to controlthe first device 100. The user may control the first device 100 tooutput a corresponding result by changing the tilt angle of the touchpen. The following describes the application scenarios of the touch pen:

In some embodiments of the present disclosure, the controller 2 iselectrically connected to the pen tip part 6 of the pen body 1 and isconfigured to transmit an excitation signal with a first frequency tothe screen of the first device 100 via the pen tip part 6 according tothe received reference value. Specifically, the excitation signal may bean alternating current excitation signal.

The relationship between the tilt angle of the pen body 1 and theexcitation signal may be determined according to actual design needs.Specifically, the value of the first frequency may be determinedaccording to actual design requirements.

FIG. 10 shows a correspondence between the current in the circuit andthe frequency of the excitation signal output by the controller 2. InFIG. 10, I0 to In represents the current generated in each circuit asthe tilt angle of the pen body 1 increases. The larger the radius of thecircle in FIG. 10 is, the larger the current value is. Each currentcorresponds to a waveform, and the waveform can reflect the frequency ofthe excitation signal output by the controller 2. Those skilled in theart can understand that, within a unit time t, the larger the quantityof waveform transformations is, the higher the frequency of theexcitation signal is.

Taking the relationship shown in FIG. 10 as an example, the larger thetilt angle of the pen body 1 is, the larger the value of the currentgenerated by the circuit is, and the larger the reference value outputby the circuit is. The larger the reference value is, the higher thefrequency of the excitation signal output by the controller 2 is, thatis, the frequency of the excitation signal has a positive correlationwith the reference value. Or, the larger the reference value is, thelower the frequency of the excitation signal output by the controller 2is, that is, the frequency of the excitation signal has a negativecorrelation with the reference value. When the touch pen is in thewriting mode, the thickness of the line displayed on the screen of thefirst device 100 may be related to the frequency of the receivedexcitation signal. In some embodiments, the higher the frequency of theexcitation signal received by the screen is, the thicker the linedisplayed on the screen is. Or, the higher the frequency of theexcitation signal received by the screen is, the thinner the linedisplayed on the screen is.

When a user uses the touch pen provided in the embodiments of thepresent disclosure to write on the screen of the first device 100, thethickness of the scribe line displayed on the screen may be changed bychanging the tilt angle of the touch pen.

In some embodiments of the present disclosure, the controller 2 isconfigured to be in communication connection with a first communicationmodule (for example, may be a communication circuit) of the first device100, and transmit the preset control signal to the first communicationmodule according to the received reference value, so that the firstdevice 100 is enabled to perform a corresponding operation according tothe control signal.

In some embodiments, the controller 2 and the first communication modulemay be in a wired communication connection or a wireless communicationconnection.

In some embodiments, the controller 2 transmits a control signal forscreen brightness to the first communication module according to thereceived reference value. For example, the larger the tilt angle of thetouch pen is, the lower the brightness of the screen is. Or, the largerthe tilt angle of the touch pen is, the higher the brightness of thescreen is.

In some embodiments, the controller 2 transmits a control signal forvolume to the first communication module according to the receivedreference value. For example, the larger the tilt angle of the touch penis, the higher the volume output by the first device 100 is. Or, thelarger the tilt angle of the touch pen is, the lower the volume outputby the first device 100 is.

In some embodiments, the controller 2 transmits a control signal forcursor to the first communication module according to the receivedreference value. For example, by changing the tilt angle of the touchpen, the position of the cursor displayed on the screen is changed.

In some embodiments, the first controller 2 transmits a control signalfor vibration to the first communication module according to thereceived reference value. For example, the larger the tilt angle of thetouch pen is, the larger the vibration of the first device 100 is. Or,the larger the tilt angle of the touch pen is, the smaller the vibrationof the first device 100 is.

It should be noted that the above only lists part of the applicationscenarios of the touch pen. The touch pen may also be applied in morescenarios. For example, the controller 2 sends a signal to the firstcommunication module according to the received reference value tocontrol other parameters of the first device 100 or to perform othercorresponding preset operations, which are not described herein.

In some embodiments of the present disclosure, as shown in FIG. 1, thetouch pen further includes a button 7. The button 7 is configured to setan operating mode of the touch pen (such as setting as writing mode).

In some embodiments of the present disclosure, as shown in FIG. 1, thetouch pen further includes a power supply part (for example, battery) 8.The power supply part 8 is electrically connected to the controller 2and is configured to provide power for the controller 2.

In some embodiments, the power supply 3111 in the detecting part 3 maybe a part of the power supply part 8, that is, the power supply part 8may provide power for the detecting part 3.

Based on the same inventive concept, as shown in FIG. 9, someembodiments of the present disclosure further provide a touch device,including a first device 100 and the touch pen provided in theembodiments of the present disclosure. The first device is configured toreceive the control signal outputted from the controller of the touchpen, to perform a corresponding operation according to the controlsignal. For an example in which the first device performs acorresponding operation according to the control signal, reference maybe made to the descriptions in the foregoing embodiments, which are notdescribed herein.

The touch device provided by the embodiments of the present disclosurehas the same inventive concept and the same beneficial effects as theprevious embodiments. For the content not shown in detail in the touchdevice, reference may be made to the previous embodiments, which is notrepeated herein.

Based on the same inventive concept, some embodiments of the presentdisclosure also provide a method for controlling a touch pen. Thecontrol method may be applied to the touch pen provided in the aboveembodiments of the present disclosure. A schematic flowchart of thecontrol method is shown in FIG. 11, which include steps as follows.

S10: The controller 2 receives a reference value.

The reference value is outputted when the pen body 1 is in a tiltposture and the detecting part 3 contacts the conductive fluid 5.

When the touch pen is tilted, the conductive fluid 5 in theaccommodation part 4 flows into the detecting part 3 and contacts thecurrent detecting circuit 31, and forms a circuit with the currentdetecting circuit 31 to generate a current. When the touch pen is indifferent tilt postures, the amount of the conductive fluid 5 flowinginto the detecting part 3 changes, so that the circuit structure of thecircuit formed by the current detecting circuit 31 and the conductivefluid 5, the current in the circuit, and the reference value outputtedby detecting part 3 change accordingly.

Taking FIG. 2 as an example, the touch pen is in a vertical state atposition A, the tilt angle is 0, and the current detecting circuit 31 isnot in contact with the conductive fluid 5. The touch pen is tiltedrightwards from position A to position B, in this case, the touch pen isin a tilt posture with a tilt angle of θ, and a part of the currentdetecting circuit 31 is in contact with the conductive fluid 5 to form acorresponding circuit and generate a current.

It should be noted that during the process in which the touch pen istilted rightwards from position A to position B, the current detectingcircuit 31 and the conductive fluid 5 may form at least one circuit, andeach circuit generates a corresponding current.

In some embodiments, each current value corresponds to a referencevalue.

The relationship between the tilt angle of the touch pen and the valueof the current generated by the circuit may be determined according tothe structural characteristics of the current detecting circuit 31. Forexample, the greater the tilt angle of the touch pen is, the greater thevalue of the current generated by the circuit is; or, the greater thetilt angle of the touch pen is, the smaller the value of the currentgenerated by the circuit is. The signal output by the controller 2changes with magnitude of the current in the circuit.

S20: The controller 2 outputs a control signal according to thereference value.

The control signal output by the controller 2 according to the referencevalue may be used to control the first device 100. The user may controlthe first device 100 to output a corresponding result by changing thetilt angle of the touch pen.

In some embodiments of the present disclosure, as shown in FIG. 9, thecontroller 2 is electrically connected to the pen tip part 6 of the penbody 1. The controller 2 transmits an excitation signal with a firstfrequency to the screen of the first device 100 via the pen tip part 6according to the received reference value.

The relationship between the tilt angle of the pen body 1 and theexcitation signal may be determined according to actual design needs.

FIG. 10 shows a correspondence between the current in the circuit andthe frequency of the excitation signal output by the controller 2. InFIG. 10, IO to In represents the current generated in each circuit asthe tilt angle of the pen body 1 increases. The larger the radius of thecircle in FIG. 10 is, the larger the current value is. Each currentcorresponds to a waveform, and the waveform can reflect the frequency ofthe excitation signal output by the controller 2. Those skilled in theart can understand that, within a unit time t, the larger the quantityof waveform transformations is, the higher the frequency of theexcitation signal is.

Taking the relationship shown in FIG. 10 as an example, the larger thetilt angle of the pen body 1 is, the larger the value of the currentgenerated by the circuit is, the larger the reference value output bythe circuit is, and the higher the frequency of the excitation signaloutput by the controller 2 is. When the touch pen is in the writingmode, the thickness of the line displayed on the screen of the firstdevice 100 may be related to the frequency of the received excitationsignal. In some embodiments, the higher the frequency of the excitationsignal received by the screen is, the thicker the line displayed on thescreen is. Or, the higher the frequency of the excitation signalreceived by the screen is, the thinner the line displayed on the screenis.

When a user uses the touch pen provided in the embodiments of thepresent disclosure to write on the screen of the first device 100, thethickness of the scribe line displayed on the screen may be changed bychanging the tilt angle of the touch pen.

In some embodiments of the present disclosure, the controller 2 isconfigured to be in communication connection with a first communicationmodule of the first device 100. The controller 2 transmits the presetcontrol signal to the first communication module according to thereceived reference value, so that the first device 100 is enabled toperform a corresponding operation according to the control signal.

In some embodiments, the controller 2 and the first communication modulemay be in a wired communication connection or a wireless communicationconnection.

In some embodiments, the controller 2 transmits a control signal forscreen brightness to the first communication module according to thereceived reference value. For example, the larger the tilt angle of thetouch pen is, the lower the brightness of the screen is. Or, the largerthe tilt angle of the touch pen is, the higher the brightness of thescreen is.

In some embodiments, the controller 2 transmits a control signal forvolume to the first communication module according to the receivedreference value. For example, the larger the tilt angle of the touch penis, the higher the volume output by the first device 100 is. Or, thelarger the tilt angle of the touch pen is, the lower the volume outputby the first device 100 is.

In some embodiments, the controller 2 transmits a control signal forcursor to the first communication module according to the receivedreference value. For example, by changing the tilt angle of the touchpen, the position of the cursor displayed on the screen is changed.

It should be noted that the above only lists a part of the applicationscenarios of the touch pen, and the touch pen may also be applied inmore scenarios, which is not repeated herein.

The method for controlling the touch pen provided in the embodiments ofthe present disclosure has the same inventive concept and the samebeneficial effects as the embodiments described above. For content notshown in detail in the method for controlling the touch pen, referencemay be made to the foregoing embodiments, which is not repeated herein.

Based on the same inventive concept, some embodiments of the presentdisclosure further provide a readable storage medium. A computer programis stored on the readable storage medium. When the computer program isexecuted by a touch pen, the method for controlling the touch penprovided by the foregoing embodiments of the present disclosure isimplemented.

The computer readable medium includes, but is not limited to, any typeof disk (including floppy disk, hard disk, optical disk, CD-ROM, andmagneto-optical disk), ROM, RAM, and EPROM (Erasable ProgrammableRead-Only Memory), EEPROM, flash memory, magnetic or optical card. Thatis, the readable medium includes any medium that stores or transfersinformation in a readable form by a device (e.g., a computer).

The readable storage medium provided by the embodiments of the presentdisclosure has the same inventive concept and the same beneficialeffects as the foregoing embodiments. For the content not shown indetail in the readable storage medium, reference may be made to theforegoing implementations, which is not repeated herein.

By adopting the embodiments of the present disclosure, at least thefollowing beneficial effects can be achieved.

1. When the touch pen is tilted, the conductive fluid in theaccommodating part will flow into the detecting part and contact thecurrent detecting circuit, and form a circuit with the current detectingcircuit to generate a current. When the touch pen is in a different tiltposture, the amount of conductive fluid flowing into the detecting partchanges, so that the circuit structure of the circuit formed by thecurrent detecting circuit and the conductive fluid, the current in thecircuit, and the reference value output by the detecting part arechanged accordingly. Since the controller can output correspondingsignals according to different reference values, the user only needs tochange the tilt posture of the touch pen to enable the controller of thetouch pen to change the outputted signal, thereby realizing relatedfunctions. In the touch pen, the current detecting circuit and theaccommodation part containing the conductive fluid replace a pressuresensor and a Bluetooth module in a touch pen in the relatedtechnologies. The structure is simpler and the response speed is faster,which saves costs and reduces power consumption.

2. The second end of the main circuit is a first ring-shaped wire, andthe free end of the conductor branch is a second ring-shaped wire. Thefirst ring-shaped wire and the plurality of second ring-shaped wires arearranged coaxially. When the touch pen is tilted in any direction, itcan be ensured that the second end of the main circuit and the free endof the conductor branch are in contact with the conductive fluid, whichis convenient for a user.

Those skilled in the art can understand that steps, measures, orsolutions in various operations, methods or processes that have beendiscussed in the present disclosure may be alternated, changed,combined, or deleted. Further, other steps, measures, or solutions invarious operations, methods or processes that have been discussed in thepresent disclosure can be alternated, modified, rearranged, decomposed,combined, or deleted. Further, steps, measures, or solutions in variousoperations, methods or processes in the conventional technologies can bealternated, modified, rearranged, decomposed, combined, or deleted.

In the descriptions of the present disclosure, it needs to be understoodthat orientation or positional relationship indicated by the term of“center”, “up”, “down”, “front”, “rear”, “left”, “right”, “vertical”,“horizontal”, “top”, “bottom”, “inside”, or “outer”, etc., is based onthe drawings, and are only for the convenience of describing the presentdisclosure and simplifying the description, and not intended to indicateor imply that the device or element as referred to must have a specificorientation or be constructed and operated in a specific orientation,and therefore cannot be understood as a limitation to the presentdisclosure.

The terms “first” and “second” are used for descriptive purposes only,and cannot be understood as indicating or implying relative importanceor implicitly indicating the quantity of technical features as referredto. Therefore, the features defined by “first” and “second” mayexplicitly or implicitly include one or more of the features. In thedescriptions of the present disclosure, unless otherwise stated, “aplurality” means two or more.

In the description of the present disclosure, it should be noted thatthe term of “installation”, “connected”, or “connecting” should beunderstood in a broad sense unless explicitly stated and limited. Forexample, it may be fixed or removable connection, or may be integralconnection; it may be direct connection or indirect connection throughan intermediate medium, or, it may be internal communication of twoelements. For those of ordinary skill in the art, the specific meaningsof the above terms in the present disclosure may be understood on acase-by-case basis.

In the descriptions of this specification, specific features,structures, materials, or characteristics may be combined in a suitablemanner in any one or more embodiments or examples.

It should be understood that although the steps in the flowchart of thedrawings are sequentially displayed in accordance with the directions ofthe arrows, these steps are not necessarily performed in the orderindicated by the arrows. Unless explicitly stated herein, the executionof these steps is not strictly limited, and they may be performed inother orders. Moreover, at least a part of the steps in the flowchart ofthe drawings may include multiple sub-steps or multiple stages. Thesesub-steps or stages are not necessarily performed at the same time, butmay be performed at different times; and they are not necessarilyperformed sequentially, but may be performed in turn or alternately withother steps or at least a part of sub-steps or stages of other steps.

The above descriptions are merely some embodiments of the presentdisclosure. It should be noted that for those of ordinary skill in theart, without departing from the principles of the present disclosure,various improvements and polishments can be made. These improvements andpolishments should fall within the protection scope of the presentdisclosure.

What is claimed is:
 1. A touch pen, comprising: a pen body, acontroller, a detecting part, and an accommodation part, wherein thecontroller, the detecting part, and the accommodation part are arrangedon the pen body; wherein the detecting part is provided with a currentdetecting circuit, there is a conductive fluid in the accommodationpart, and the accommodation part is connected to the detecting part;wherein at least a part of the current detecting circuit is locatedinside the detecting part, and the current detecting circuit isconfigured to contact the conductive fluid and form a circuit with theconductive fluid when the pen body is in a tilt posture, and output acorresponding reference value according to magnitude of a current in thecircuit; and wherein the controller is electrically connected to thecurrent detecting circuit, and is configured to output a control signalaccording to the reference value, wherein when the touch pen is in avertical state, the current detecting circuit is not in contact with theconductive fluid.
 2. The touch pen according to claim 1, wherein thecurrent detecting circuit comprises a main circuit and a plurality ofconductor branches; wherein the main circuit comprises a power supplyand a detector connected in series, a first end of the main circuit isconnected to a fixed end of each of the plurality of conductor branches,and a second end of the main circuit and free ends of the plurality ofconductor branches are arranged in the detecting part in a firstdirection at intervals; wherein, when the pen body is in the tiltposture, the second end of the main circuit and the free end of at leastone of the plurality of conductor branches are in contact with theconductive fluid, and the main circuit, the at least one of theplurality of conductor branches and the conductive fluid form thecircuit; and wherein the detector is electrically connected to thecontroller, and is configured to output the corresponding referencevalue according to the magnitude of the current in the circuit.
 3. Thetouch pen according to claim 2, wherein the second end of the maincircuit is a first ring-shaped wire, and the free end of the conductorbranch is a second ring-shaped wire; and wherein the first ring-shapedwire and the plurality of second ring-shaped wires are coaxial, and arearranged in in the detecting part in the first direction at intervals.4. The touch pen according to claim 3, wherein the conductor branchfurther comprises a first resistor, a first end of the main circuit iselectrically connected to an end of the first resistor, and the otherend of the resistor is electrically connected to the second ring-shapedwire.
 5. The touch pen according to claim 3, wherein a hollow groove isaxially arranged inside the pen body, the accommodation part and thedetecting part are located in the hollow groove, and the accommodationpart is located on a side of the detecting part close to a pen tip partof the pen body.
 6. The touch pen according to claim 5, wherein thehollow groove is divided into a first region and a second region in anaxial direction, which are adjacent; wherein the accommodation partcomprises the first region, and the detecting part comprises the secondregion; and wherein the first ring-shaped wire and the plurality of thesecond ring-shaped wires are arranged in the second region in an axialdirection at intervals.
 7. The touch pen according to claim 3, furthercomprising a tubular member arranged inside or on an outer surface ofthe pen body, wherein the accommodation part and the detecting part arelocated in the tubular member, and the accommodation part is located ona side of the detecting part close to a pen tip part of the pen body. 8.The touch pen according to claim 7, wherein the tubular member isdivided into a first portion and a second portion in an axial directionof the tubular member, which are adjacent; wherein the accommodationpart comprises the first portion, and the detecting part comprises thesecond portion; and wherein the first ring-shaped wire and the pluralityof the second ring-shaped wires are arranged in the second portion in anaxial direction at intervals.
 9. The touch pen according to claim 3,wherein the accommodation part comprises a first cavity foraccommodating the conductive fluid, the detecting part is a cylinder,and the first cavity is connected to an inside of the detecting part;and wherein the first ring-shaped wire and the plurality of secondring-shaped wires are arranged in the detecting part in an axialdirection of the detecting part at intervals.
 10. The touch penaccording to claim 1, wherein the controller is electrically connectedto a pen tip part of the pen body, and is configured to transmit, to ascreen of a first device via the pen tip part, an excitation signalhaving a first frequency according to the reference value.
 11. The touchpen according to claim 10, wherein the first frequency and the referencevalue exhibit a positive correlation relationship or a negativecorrelation relationship.
 12. The touch pen according to claim 1,wherein the controller is configured to communicate with a firstcommunication circuit of a first device, and is configured to transmit acontrol signal to the first communication circuit according to thereference value, so that the first device performs a correspondingoperation according to the control signal.
 13. A touch device,comprising: a first device and a touch pen; wherein, the touch pencomprises a pen body, a controller, a detecting part, and anaccommodation part, and the controller, the detecting part, and theaccommodation part are arranged on the pen body; wherein the detectingpart is provided with a current detecting circuit, there is a conductivefluid in the accommodation part, and the accommodation part is connectedto the detecting part; wherein at least a part of the current detectingcircuit is located inside the detecting part, and the current detectingcircuit is configured to contact the conductive fluid and form a circuitwith the conductive fluid when the pen body is in a tilt posture, andoutput a corresponding reference value according to magnitude of acurrent in the circuit; wherein the controller is electrically connectedto the current detecting circuit, and is configured to output a controlsignal according to the reference value; and wherein the first device isconfigured to receive the control signal outputted by the controller ofthe touch pen, wherein when the touch pen is in a vertical state, thecurrent detecting circuit is not in contact with the conductive fluid.14. The touch device according to claim 13, wherein the first device isconfigured to: control, according to the control signal, a thickness ofa line displayed on a screen, a brightness of a screen, an output volumeof the first device, a position of a cursor displayed on a screen, or avibration degree of the first device.
 15. The touch device according toclaim 13, wherein the current detecting circuit comprises a main circuitand a plurality of conductor branches; wherein the main circuitcomprises a power supply and a detector connected in series, a first endof the main circuit is connected to a fixed end of each of the pluralityof conductor branches, and a second end of the main circuit and freeends of the plurality of conductor branches are arranged in thedetecting part in a first direction at intervals; wherein, when the penbody is in a tilt posture, the second end of the main circuit and thefree end of at least one of the plurality of conductor branches are incontact with the conductive fluid, and the main circuit, the at leastone of the plurality of conductor branches and the conductive fluid formthe circuit; and wherein the detector is electrically connected to thecontroller, and is configured to output the corresponding referencevalue according to the magnitude of the current in the circuit.
 16. Thetouch device according to claim 15, wherein the second end of the maincircuit is a first ring-shaped wire, and the free end of the conductorbranch is a second ring-shaped wire; and wherein the first ring-shapedwire and the plurality of second ring-shaped wires are coaxial, and arearranged in the detecting part in the first direction at intervals. 17.The touch device according to claim 16, wherein the conductor branchfurther comprises a first resistor, a first end of the main circuit iselectrically connected to an end of the first resistor, and the otherend of the resistor is electrically connected the second ring-shapedwire.
 18. A method for controlling a touch pen, wherein the touch pencomprises: a pen body, a controller, a detecting part, and anaccommodation part, wherein the controller, the detecting part, and theaccommodation part are arranged on the pen body; wherein the detectingpart is provided with a current detecting circuit, there is a conductivefluid in the accommodation part, and the accommodation part is connectedto the detecting part; wherein at least a part of the current detectingcircuit is located inside the detecting part, and the current detectingcircuit is configured to contact the conductive fluid and form a circuitwith the conductive fluid when the pen body is in a tilt posture, andoutput a corresponding reference value according to magnitude of acurrent in the circuit and wherein the controller is electricallyconnected to the current detecting circuit, and is configured to outputa control signal according to the reference value, wherein when thetouch pen is in a vertical state, the current detecting circuit is notin contact with the conductive fluid, wherein the method comprises:receiving a reference value, wherein the reference value is outputtedwhen the pen body is in the tilt posture and the detecting part contactsthe conductive fluid; and outputting a control signal according to thereference value.
 19. The control method according to claim 18, whereinthe outputting the control signal according to the reference valuecomprises at least one of: transmitting a excitation signal having afirst frequency to a screen of a first device via a pen tip partaccording to the reference value; or, transmitting a control signal to afirst communication circuit of a first device according to the referencevalue, so that the first device performs a corresponding operationaccording to the control signal.
 20. A non-transitory readable storagemedium, having a program stored thereon, wherein, when the program isexecuted by a touch pen, the method for controlling the touch penaccording to claim 18 is implemented.